package org.itcast.travel.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.itcast.travel.pojo.User;
import org.itcast.travel.pojo.UserInfo;
import org.itcast.travel.pojo.UserInfoS;

@Mapper
public interface UserInfoMapper {


    void register(UserInfoS userInfos);
//根据id查询用户信息
    @Select("select * from user_info")
    UserInfo getById(Integer id);
//修改
    void updateUser(UserInfo userInfo);
}